﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ARS.Control.Custom.Entity.Fields;
using ARS.Control.Custom.Entity.Model;

namespace ARS.Fields
{
    /// <summary>
    /// </summary>
    [Serializable]
    public class fund_cost : EntityModel
    {
        public fund_cost()
        { }
        #region Model
        /// <summary>
        /// 主键
        /// </summary>
        [KeyField()]
        public int Fund_Cost_Id
        {
            set;
            get;
        }
        /// <summary>
        /// 收费名称
        /// </summary>
        [CharField(Verbose_Name = "收费名称", IsListShow = true)]
        public string Name
        {
            set;
            get;
        }
        /// <summary>
        /// 收费方式
        /// </summary>
        [ChoicesField(Verbose_Name = "收费方式", Choices = ("0|乘,1|除,2|加,3|减"), IsListShow = true)]
        public int Fund_Type
        {
            set;
            get;
        }
        /// <summary>
        /// 费用
        /// </summary>
        [CharField(Verbose_Name = "费用", IsListShow = true)]
        public string Fund_Cost
        {
            set;
            get;
        }
        /// <summary>
        /// 比例
        /// </summary>
        [ChoicesField(Verbose_Name = "比例", Choices = "1|不变,100|百分比,1000|千分比,10000|万分比", IsListShow = true)]
        public int Proportion
        {
            set;
            get;
        }

        /// <summary>
        /// 费用界限
        /// </summary>
        //[CharField(Verbose_Name = "费用界限")]
        public string Fund_Limit
        {
            set;
            get;
        }
        /// <summary>
        /// 费用2
        /// </summary>
        //[CharField(Verbose_Name = "费用2")]
        public string Fund_Cost2
        {
            set;
            get;
        }
        /// <summary>
        /// 备注
        /// </summary>
        [CharField(Verbose_Name = "备注", IsListShow = true)]
        public string Remark
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        [ChoicesField(Verbose_Name = "费用来源", Choices = "0|优先级委托金额,1|次级委托金额,2|优先级+次级委托金额")]
        public int CostSource { get; set; }




        #endregion Model

    }
}
